#ifndef SCROLLTREE_H
#define SCROLLTREE_H

#include <QMouseEvent>
#include <QTreeWidget>
#include <QHeaderView>  // 隐藏树的head需要的头文件
#include <QTreeWidgetItem>

#include <QDebug>
#define qout qDebug()  << "[" << __FILE__ << ":" << __LINE__ << "]" <<

class ScrollTree : public QTreeWidget
{
    Q_OBJECT
public:
    explicit ScrollTree(QWidget *parent = nullptr);
    ~ScrollTree();

private slots:
    // 鼠标悬浮事件
    void slotMouseSuspension(QModelIndex index);
};

#endif // SCROLLTREE_H
